package com.suse.warmstill.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 黄靖
 * @author 2023-02-12 05:28
 * description:
 **/
@Data
@ApiModel("首页消息返回")
public class MessageIndexVo extends BaseVo {
    @ApiModelProperty("发送人的id")
    private int id;

    @ApiModelProperty("发送人的username")
    private String username;

    @ApiModelProperty("头像地址")
    private String photoUrl;

    @ApiModelProperty("未读消息数量")
    private int unReadCount;

    @ApiModelProperty("最新的一条消息")
    private String msg;


}
